<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<!-- saved from url=(0038)https://segmentfault.com/user/settings -->
<html lang="zh-CN">
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
        <meta name="renderer" content="webkit">
        <meta property="qc:admins" content="15317273575564615446375">
        <meta property="og:image" content="https://sf-static.b0.upaiyun.com/v-576b52d9/global/img/touch-icon.png">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <meta name="alexaVerifyID" content="LkzCRJ7rPEUwt6fVey2vhxiw1vQ">
        <meta name="apple-itunes-app" content="app-id=958101793, app-argument=">
        <title>
            ！账号设置 - SegmentFault
        </title>
        <meta name="description" content="SegmentFault ( www.sf.gg ) 是中国领先的开发者技术社区。 我们希望为编程爱好者提供一个纯粹、高质的技术交流的平台， 与开发者一起学习、交流与成长，创造属于开发者的时代！">
        <meta name="keywords" content="SegmentFault,黑客马拉松,IT技术社区,编程社区,技术问答,技术文章,技术笔记,技术活动,程序员招聘,开发者,程序员,极客,编程,代码,开源,hackathon">
        <link rel="search" type="application/opensearchdescription+xml" href="https://segmentfault.com/opensearch.xml"
        title="SegmentFault">
        <!-- <link rel="shortcut icon" href="https://sf-static.b0.upaiyun.com/v-576b52d9/global/img/favicon.ico"> -->
        <link rel="apple-touch-icon" href="https://sf-static.b0.upaiyun.com/v-576b52d9/global/img/touch-icon.png">
        <meta name="msapplication-TileColor" content="#009a61">
        <meta name="msapplication-square150x150logo" content="https://sf-static.b0.upaiyun.com/v-576b52d9/global/img/touch-icon.png">
        <meta name="userId" value="1030000005735727" id="SFUserId">
        <meta name="userRank" value="0" id="SFUserRank">
        <link rel="alternate" type="application/atom+xml" title="SegmentFault 最新问题"
        href="https://segmentfault.com/feeds/questions">
        <link rel="alternate" type="application/atom+xml" title="SegmentFault 最新文章"
        href="https://segmentfault.com/feeds/blogs">
        <link rel="stylesheet" href="/ztqphp/bbs/Public/css/global.css">
        <link rel="stylesheet" href="/ztqphp/bbs/Public/css/user.css">
        <link rel="stylesheet" href="/ztqphp/bbs/Public/css/responsive.css">
        <!--[if lt IE 9]>
            <link rel="stylesheet" href="https://sf-static.b0.upaiyun.com/v-576b52d9/global/css/ie.css"
            />
            <script src="https://sf-static.b0.upaiyun.com/v-576b52d9/global/script/html5shiv.js">
            </script>
            <script src="https://sf-static.b0.upaiyun.com/v-576b52d9/global/script/respond.js">
            </script>
        <![endif]-->
        <script type="text/javascript" src="/ztqphp/bbs/Public/js/jquery.min.js"></script>
    </head>
    
    <body data-mod="user" class="user-settings
    ">
        <!--[if lt IE 9]>
            <div class="alert alert-danger topframe" role="alert">
                你的浏览器实在
                <strong>
                    太太太太太太旧了
                </strong>
                ，放学别走，升级完浏览器再说
                <a target="_blank" class="alert-link" href="http://browsehappy.com">
                    立即升级
                </a>
            </div>
        <![endif]-->
        <img id="icon4weChat" style="height: 0;width: 0;" data-src="https://sf-static.b0.upaiyun.com/v-576b52d9/global/img/touch-icon-512.png">
        <img id="icon4weChat" data-src="https://sf-static.b0.upaiyun.com/v-576b52d9/global/img/touch-icon-512.png">
        <div class="global-nav sf-header">
            <nav class="container nav">
                <div class="hidden-sm hidden-lg hidden-md">
                    <div class="sf-header__logo sf-header__logo--response">
                        <h1>
                            <a>
                            </a>
                        </h1>
                    </div>
                    <div class="dropdown m-menu">
                        <a href="javascript:void(0);" id="dLabel" class="visible-xs-block m-toptools"
                        data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <span class="glyphicon glyphicon-align-justify">
                            </span>
                            <span class="mobile-menu__unreadpoint">
                            </span>
                        </a>
                        <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                            <li class="mobile-menu__item">
                                <a href="https://segmentfault.com/questions/newest">
                                    问答
                                </a>
                            </li>
                            <li class="mobile-menu__item">
                                <a href="https://segmentfault.com/blogs">
                                    文章
                                </a>
                            </li>
                            <li class="mobile-menu__item">
                                <a href="https://segmentfault.com/user/note">
                                    笔记
                                </a>
                            </li>
                            <li class="mobile-menu__item">
                                <a href="https://segmentfault.com/jobs">
                                    职位
                                </a>
                            </li>
                            <li class="mobile-menu__item">
                                <a href="https://segmentfault.com/events">
                                    活动
                                </a>
                            </li>
                            <li class="mobile-menu__item">
                                <a href="https://segmentfault.com/tags">
                                    标签
                                </a>
                            </li>
                            <li class="mobile-menu__item">
                                <a href="https://segmentfault.com/users">
                                    榜单
                                </a>
                            </li>
                            <li class="mobile-menu__item">
                                <a href="https://segmentfault.com/sites">
                                    子站
                                </a>
                            </li>
                            <li role="presentation" class="divider">
                            </li>
                            <li class="mobile-menu__item">
                                <a href="https://segmentfault.com/user/notifications">
                                    消息
                                    <span class="pull-right badge mt4" id="m-messageCount">
                                        1
                                    </span>
                                </a>
                            </li>
                            <li role="presentation" class="divider">
                            </li>
                            <li class="mobile-menu__item">
                                <a href="<?php echo U('index/login/login_out');?>">
                                    退出
                                </a>
                            </li>
                        </ul>
                    </div>
                    <a href="https://segmentfault.com/ask" class="visible-xs-block pull-right m-ask m-toptools">
                        <span class="glyphicon glyphicon-pencil">
                        </span>
                    </a>
                </div>
                <div class="row hidden-xs">
                    <div class="col-sm-9 col-md-7 col-lg-6">
                        <div class="sf-header__logo">
                            <h1>
                                <a href="/ztqphp/bbs">
                                    SegmentFault
                                </a>
                            </h1>
                        </div>
                        <ul class="menu list-inline pull-left hidden-xs">
                            <li class="menu__item">
                                <a href="https://segmentfault.com/questions">
                                    问答
                                </a>
                            </li>
                            <li class="menu__item">
                                <a href="https://segmentfault.com/blogs">
                                    文章
                                </a>
                            </li>
                            <li class="menu__item">
                                <a href="https://segmentfault.com/user/note">
                                    笔记
                                </a>
                            </li>
                            <li class="menu__item">
                                <a href="https://segmentfault.com/jobs">
                                    职位
                                </a>
                            </li>
                            <li class="menu__item">
                                <a href="https://segmentfault.com/events">
                                    活动
                                </a>
                            </li>
                        </ul>
                    </div>
                    <div class="col-sm-3 col-md-5 col-lg-6 text-right">
                        <form action="<?php echo U('index/search/index');?>" class="header-search  hidden-sm hidden-xs mr20">
                            <button class="btn btn-link">
                                <span class="sr-only">
                                    搜索
                                </span>
                                <span class="glyphicon glyphicon-search">
                                </span>
                            </button>
                            <input id="searchBox" name="q" type="text" placeholder="输入关键字搜索" class="form-control"
                            value="">
                        </form>

                        <?php if(isset($_SESSION['username'])){ ?>
                            <ul class="opts list-inline hidden-xs">
                                <li class="opts__item dropdown hoverDropdown write-btns">
                                    <a class="dropdownBtn" data-toggle="dropdown" href="https://segmentfault.com/ask">
                                        撰写
                                        <span class="caret">
                                        </span>
                                    </a>
                                    <ul class="dropdown-menu dropdown-menu-right ">
                                        <li>
                                            <a href="<?php echo U('index/ask/howtoask');?>">
                                                提问题
                                            </a>
                                        </li>
                                        <li>
                                            <a href="https://segmentfault.com/write">
                                                写文章
                                            </a>
                                        </li>
                                        <li>
                                            <a href="https://segmentfault.com/record">
                                                记笔记
                                            </a>
                                        </li>
                                        <li class="divider">
                                        </li>
                                        <li>
                                            <a href="https://segmentfault.com/user/draft">
                                                草稿箱
                                            </a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="opts__item message has-unread ">
                                    <a id="dLabel" class="dropdown-toggle-message" href="javascript:;">
                                        <span class="sr-only">
                                            消息
                                        </span>
                                        <span id="messageCount" class="fa fa-bell-o">
                                        </span>
                                        <span class="has-unread__count">
                                            1
                                        </span>
                                    </a>
                                    <div class="opts__item--message hide">
                                        <div class="panel panel-default">
                                            <div class="panel-heading">
                                                <ul class="nav nav-tabs nav-tabs-message">
                                                    <li role="presentation" class="active">
                                                        <a href="https://segmentfault.com/user/settings#messageGeneral" id="home-tab"
                                                        role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">
                                                            <i class="fa fa-bullhorn">
                                                            </i>
                                                            <span class="notice-dot hide notice-dot-general">
                                                            </span>
                                                        </a>
                                                    </li>
                                                    <li role="presentation" class="">
                                                        <a href="https://segmentfault.com/user/settings#messageRanked" id="home-tab"
                                                        role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">
                                                            <i class="fa fa-thumbs-o-up">
                                                            </i>
                                                            <span class="notice-dot hide notice-dot-ranked">
                                                            </span>
                                                        </a>
                                                    </li>
                                                    <li role="presentation" class="">
                                                        <a href="https://segmentfault.com/user/settings#messageFollowed" id="home-tab"
                                                        role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">
                                                            <i class="fa fa-user-plus">
                                                            </i>
                                                            <span class="notice-dot hide notice-dot-followed">
                                                            </span>
                                                        </a>
                                                    </li>
                                                    <li role="presentation" class="">
                                                        <a href="https://segmentfault.com/user/settings#messageInbox" id="home-tab"
                                                        role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">
                                                            <i class="fa fa-commenting">
                                                            </i>
                                                            <span class="notice-dot hide notice-dot-inbox">
                                                            </span>
                                                        </a>
                                                    </li>
                                                </ul>
                                            </div>
                                            <div class="panel-body">
                                                <div class="tab-content">
                                                    <div role="tabpanel" class="tab-pane active" id="messageGeneral">
                                                    </div>
                                                    <div role="tabpanel" class="tab-pane" id="messageRanked">
                                                    </div>
                                                    <div role="tabpanel" class="tab-pane" id="messageFollowed">
                                                    </div>
                                                    <div role="tabpanel" class="tab-pane" id="messageInbox">
                                                    </div>
                                                    <script type="text/template" id="messageGeneralTpl">
                                                        < ul class = "mCustomScrollbar-message"data - proto = "general"data - mcs - theme = "minimal-dark" > <%_.each(general,
                                                        function(d) { % ><li class = "<%= d.viewed>0 ?'':'bg-warning'%>" > <%=d.sentence % >&nbsp; < a href = "<%= d.url %>" > <%=d.excerpt % ></a></li > <%
                                                        }) % ></ul>/
                                                    </script>
                                                    <script type="text/template" id="item--general">
                                                        < %_.each(general,
                                                        function(d) { % ><li class = "<%= d.viewed>0 ?'':'bg-warning'%>" > <%=d.sentence % >&nbsp; < a href = "<%= d.url %>" > <%=d.excerpt % ></a></li > <%
                                                        }) % >
                                                    </script>
                                                    <script type="text/template" id="messageRankedTpl">
                                                        < ul class = "mCustomScrollbar-message"data - proto = "ranked"data - mcs - theme = "minimal-dark" > <%_.each(ranked,
                                                        function(d) { % ><li class = "<%= d.viewed>0 ?'':'bg-warning'%>" > <span class = "badge
                                                        <% if(d.voted && d.voted.rank!=0){ %><%= d.voted.rank > 0 ? 'green':'red' %><% } else { %> transparent <% } %>" > <%
                                                            if (d.voted) { % ><%=d.voted.rank > 0 ? '+' + d.voted.rank: d.voted.rank % ><%
                                                            } % ></span><div class="rank-desc"><%= d.sentence %>&nbsp;<a href="<%= d.url %>"><%=
                                        d.excerpt %></a > </div></li > <%
                                                        }) % ></ul>/
                                                    </script>
                                                    <script type="text/template" id="item--ranked">
                                                        < %_.each(ranked,
                                                        function(d) { % ><li class = "<%= d.viewed>0 ?'':'bg-warning'%>" > <span class = "badge
                                                        <% if(d.voted && d.voted.rank!=0){ %><%= d.voted.rank > 0 ? 'green':'red' %><% } else { %> transparent <% } %>" > <%
                                                            if (d.voted) { % ><%=d.voted.rank > 0 ? '+' + d.voted.rank: d.voted.rank % ><%
                                                            } % ></span><div class="rank-desc"><%= d.sentence %>&nbsp;<a href="<%= d.url %>"><%=
                                        d.excerpt %></a > </div></li > <%
                                                        }) % >
                                                    </script>
                                                    <script type="text/template" id="messageFollowedTpl">
                                                        < p class = "follow-tips" > 他们最近关注了你 < /p><ul class="mCustomScrollbar-message" data-proto="followed"  data-mcs-theme="minimal-dark"><% _.each(followed,function(d){ %><li class="<%= d.viewed>0 ?'':'bg-warning'%>"><img class="follower__img avatar-32"
                                     src="<%= d.triggerUser[0] ? d.triggerUser[0].avatarUrl : '' %>"><div class="follower__info"><% if(d.triggerUser[0] ? d.triggerUser[0].isFollowed : ''){ %><button data-id="<%= d.triggerUser[0] ? d.triggerUser[0].id : '' %>"
                                            class="btn btn-default btn-xs message__btn--unfollow pull-right active">
                                        已关注
                                    </button > <%
                                                    } else { % ><button data - id = "<%= d.triggerUser[0] ? d.triggerUser[0].id : '' %>"class = "btn btn-default btn-xs message__btn--follow pull-right" > 关注 < /button><% } %><a href="<%= d.triggerUser[0] ? d.triggerUser[0].url : '' %>"><%=d.triggerUser[0] ? d.triggerUser[0].name : ''%></a > <br > <span > <%=d.triggerUser[0] ? d.triggerUser[0].rank: '' % >声望 < /span></div > </li><% }) %></ul > 
                                                    </script>
                                                    <script type="text/template" id="item--followed">
                                                        < %_.each(followed,
                                                        function(d) { % ><li class = "<%= d.viewed>0 ?'':'bg-warning'%>" > <img class = "follower__img avatar-32"src = "<%= d.triggerUser[0] ? d.triggerUser[0].avatarUrl : '' %>" > <div class = "follower__info" > <%
                                                            if (d.triggerUser[0] && d.triggerUser[0].isFollowed) { % ><button data - id = "<%= d.triggerUser[0] ? d.triggerUser[0].id : '' %>"class = "btn btn-default btn-xs message__btn--unfollow pull-right active" > 已关注 < /button><% }else{ %><button data-id="<%= d.triggerUser[0] ? d.triggerUser[0].id : '' %>"
                                            class="btn btn-default btn-xs message__btn--follow pull-right">
                                        关注
                                    </button > <%
                                                            } % ><a href = "<%= d.triggerUser[0] ? d.triggerUser[0].url : '' %>" > <%=d.triggerUser[0].name % ></a><br><span><%= d.triggerUser[0].rank %> 声望</span > </div></li > <%
                                                        }) % >
                                                    </script>
                                                    <script type="text/template" id="messageInboxTpl">
                                                        < p class = "follow-tips" > 他们给你发了私信 < /p><ul class="mCustomScrollbar-message" data-proto="inbox" data-mcs-theme="minimal-dark"><% _.each(inboxes,function(d){ %><li class="<%= d.viewed>0 ?'':'bg-warning'%>" data-click="<%= d.url %>"><img class="follower__img avatar-32"
                                         src="<%= d.targetUser.avatarUrl %>"><div class="follower__info"><a href="<%= d.url %>"><%= d.targetUser.name
                                            %></a > <br > <span class = "ellipsis inline-block"style = "width: 245px;" > <%=d.lastMessage.content.content % ></span></div > </li><% }) %><% if(inboxes.length ==0){ %><p class="text-center">没有人给你发私信</p > <%
                                                    } % ></ul>/
                                                    </script>
                                                    <script type="text/template" id="item--inboxes">
                                                        < %_.each(inboxes,
                                                        function(d) { % ><li class = "<%= d.viewed>0 ?'':'bg-warning'%>"data - click = "<%= d.url %>" > <img class = "follower__img avatar-32"src = "<%= d.targetUser.avatarUrl %>" > <div class = "follower__info" > <a href = "<%= d.targetUser.url %>" > <%=d.targetUser.name % ></a><br><span class="ellipsis inline-block" style="width: 245px;"><%= d.content %></span > </div></li > <%
                                                        }) % >
                                                    </script>
                                                </div>
                                                <p class="opts__item--message-loading follow-tips">
                                                    loading
                                                </p>
                                            </div>
                                            <div class="panel-footer">
                                                <div class="row">
                                                    <div class="col-sm-6">
                                                        <a href="javascript:;" class="message-ingore-all hide">
                                                            <span class="glyphicon glyphicon-ok-sign">
                                                            </span>
                                                            全部标记为已读
                                                        </a>
                                                    </div>
                                                    <div class="col-sm-6">
                                                        <a class="opts__item--message-view-all" href="https://segmentfault.com/user/notifications">
                                                            查看全部 »
                                                        </a>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </li>
                                <li class="opts__item user dropdown hoverDropdown">
                                    <a class="dropdownBtn user-avatar" data-toggle="dropdown" style="background-image: url(<?php if(isset($_SESSION['face'])){ echo '/ztqphp/bbs'.$_SESSION['face']; }else{ echo '/ztqphp/bbs/Public/img/face.png'; } ?>)" 
                                    href="<?php echo U('index/personal/index');?>">
                                    </a>
                                    <ul class="dropdown-menu dropdown-menu-right">
                                        <li>
                                            <a href="<?php echo U('index/personal/index',array('id'=>$_SESSION['id']));?>">
                                                我的主页
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?php echo U('index/personal/index');?>">
                                                我的档案
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?php echo U('index/settings/index');?>">
                                                账号设置
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?php echo U('index/login/login_out');?>">
                                                退出
                                            </a>
                                        </li>
                                        <li class="divider">
                                        </li>
                                        <li>
                                            <a href="<?php echo U('index/index/index');?>">
                                                建议反馈
                                            </a>
                                        </li>
                                        <li>
                                            <a class="js__action--complain" href="javascript:void(0);">
                                                用户申诉
                                            </a>
                                        </li>
                                        <script type="text/template" id="js__action--complain-tpl">
                                            < form class = "complain__form"method = "post"action = "/api/appeals/add" > <div class = "form-group" > <label > 理由 < /label><textarea name="description" class="form-control"
                                                                  rows="3"></textarea > </div></form > 
                                        </script>
                                    </ul>
                                </li>
                            </ul>

                        <?php }else{ ?>
                            <ul class="opts list-inline hidden-xs">
                                <li class="opts__item message has-unread">
                                    <a target="_blank" href="/tour">
                                        <span class="sr-only">
                                            消息
                                        </span>
                                        <span id="messageCount" class="fa fa-hand-peace-o">
                                        </span>
                                    </a>
                                </li>
                                <li class="opts__item">
                                    <a href="<?php echo U('index/login/index');?>" class="SFLogin em ml10">注册</a>
                                    <a href="<?php echo U('index/login/index');?>" class="SFLogin em ml10">登录</a>
                                </li>
                            </ul>

                        <?php } ?>

                    </div>
                </div>
            </nav>
        </div>
        <div class="global-navTags">
            <div class="container">
                <nav class=" nav">
                    <ul class="nav__list">
                        <li class="nav__item">
                            <a href="<?php echo U('index/category/index');?>">
                                <i class="fa fa-home">
                                </i>
                                home
                            </a>
                        </li>
                        <li class="nav__item">
                            <a href="<?php echo U('index/category/index');?>">
                                <i class="fa fa-list-alt">
                                </i>
                                feed
                            </a>
                        </li>
                        <li class="nav__item nav__item--split">
                            <a>
                                <span class="split">
                                </span>
                            </a>
                        </li>
                        
                        <!-- 公共模板分类列表，设置路径，U方法带参数，循环$value里的id，并将id传给一个自命名参数cid让它能，推到不同分类下对不同分类进行修改 -->
                        <?php foreach ($categorys as $key => $value) { ?>
                            <li class="nav__item tag-nav__item">
                                <a href="<?php echo U('Index/category/index',array('cid'=>$value['id']));?>">
                                    <?php echo $value['cname'] ?>
                                </a>
                            </li>
                        <?php } ?>





                        <li class="nav__item nav__item--more" data-open="0">
                            <a class="nav__item--more-link" href="<?php echo U('index/category/index');?>">
                                <div class="tag__more">
                                    <i class="tag__more--icon">
                                    </i>
                                    <i class="tag__more--icon">
                                    </i>
                                    <i class="tag__more--icon">
                                    </i>
                                </div>
                            </a>
                        </li>
                    </ul>
                    <div class="tag-mgr__box hide">
                        <input class="tag-mgr__query" type="text" placeholder="搜索关注的标签" data-tags="null">
                        <div class="mCustomScrollbar _mCS_1 mCS-autoHide mCS_no_scrollbar" data-mcs-theme="minimal-dark"
                        style="position: relative; overflow: visible;">
                            <div id="mCSB_1" class="mCustomScrollBox mCS-minimal-dark mCSB_vertical mCSB_outside"
                            style="max-height: 0px;" tabindex="0">
                                <div id="mCSB_1_container" class="mCSB_container mCS_y_hidden mCS_no_scrollbar_y"
                                style="position:relative; top:0; left:0;" dir="ltr">
                                    <ul class="tag-mgr__list">
                                    </ul>
                                </div>
                            </div>
                            <div id="mCSB_1_scrollbar_vertical" class="mCSB_scrollTools mCSB_1_scrollbar mCS-minimal-dark mCSB_scrollTools_vertical"
                            style="display: none;">
                                <div class="mCSB_draggerContainer">
                                    <div id="mCSB_1_dragger_vertical" class="mCSB_dragger" style="position: absolute; min-height: 50px; top: 0px;"
                                    oncontextmenu="return false;">
                                        <div class="mCSB_dragger_bar" style="line-height: 50px;">
                                        </div>
                                    </div>
                                    <div class="mCSB_draggerRail">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <a href="<?php echo U('index/index/index');?>" class="btn btn-primary btn-sm tag-mgr__btn">
                            标签管理
                        </a>
                    </div>
                </nav>
            </div>
        </div>


<header class="profile__heading">
        <div class="container">
            <div class="row">
                <div class="col-md-2">
                    <a class="text-left" href="<?php echo U('index/settings/face');?>">
                        <img class="avatar-128 profile__heading--avatar" src="/ztqphp/bbs<?php echo $_SESSION['face'] ?>"
                        alt="Feedmo">
                    </a>
                </div>
                <div class="col-md-7">
                    <h2 class="profile__heading--name">
                        <?php echo $_SESSION['username'] ?>
                    </h2>
                    <div class="profile__heading--desc js-show">

                    <?php foreach ($res as $key => $value) { ?>
                        <p >
                            <?php echo $value['introduce'] ?>
                        </p>
                       
                    <?php } ?>
                        
                    </div>
                    <div class="profile__heading--social">
                        <ul class="sn-inline profile__heading--social-item">
                            <li>
                                <a href="http://www.douban.com/people/119018228/" class="icon-sn-douban"
                                target="_blank">
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="mt10">
                    <?php if ($_SESSION['id']==$_GET['id']) { ?>
                        <a class="btn mr10 btn-warning" href="/user/settings" data-id="1030000005823770">
                            编辑资料
                        </a>
                        <a href="/u/yangyangyang_577281f639866/profile" class="btn btn-default">
                            <i class="fa fa-user">
                            </i>
                            创建档案
                        </a>
                    <?php }else{ ?>
                        <a class="btn mr10 btn-success userfollow" data-id="1030000002765883">
                            加关注
                        </a>
                        <a class="btn btn-default mr10" href="javascript:void(0);" id="courier"
                        data-username="Feedmo" data-userid="1030000002765883">
                            <i class="fa fa-commenting-o">
                            </i>
                        </a>
                    <?php } ?>                        
                    </div>
                    <div class="profile__heading-info row">
                        <div class="col-md-4 col-xs-4">
                            <a href="/u/feedmo/rank">
                                <span class="h3">
                                    174
                                </span>
                                <span>
                                    声望值
                                </span>
                            </a>
                        </div>
                        <div class="col-xs-4">
                            <span class="h3">
                                0
                            </span>
                            <span>
                                被赞数
                            </span>
                        </div>
                        <div class="col-xs-4">
                            <a href="/u/feedmo/users/followed">
                                <span class="h3">
                                    1
                                </span>
                                <span>
                                    个粉丝
                                </span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>

<div class="wrap mt30">
    <div class="container">
        <div class="row">
            <div class="col-md-2">
                <ul class="nav nav-pills nav-stacked profile__nav">
                    <li class="active">
                        <a href="<?php echo U('index/personal/index');?>">
                            <span>
                                我的主页
                            </span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('index/personal/myanswer');?>">
                            <span>
                                我的回答
                            </span>
                            <span class="count">
                            </span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('index/personal/index');?>">
                            <span>
                                我的提问
                            </span>
                            <span class="count">
                                28
                            </span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('index/personal/index');?>">
                            <span>
                                我的文章
                            </span>
                            <span class="count">
                            </span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('index/personal/index');?>">
                            <span>
                                我的笔记
                            </span>
                            <span class="count">
                                1
                            </span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('index/personal/index');?>">
                            <span>
                                我的收藏夹
                            </span>
                            <span class="count">
                                9
                            </span>
                        </a>
                    </li>
                    <li role="separator" class="divider">
                        <a>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('index/personal/index');?>">
                            <span>
                                标签得分
                            </span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('index/personal/index');?>">
                            <span>
                                获得徽章
                            </span>
                            <span class="count">
                                7
                            </span>
                        </a>
                    </li>
                    <li>
                        <a href="/u/tomoe/rank">
                            <span>
                                声望记录
                            </span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="col-md-10 profile-mine">
                <h4 class="profile-mine__heading">
                    <span>
                        我的回答
                    </span>
                    <div class="pull-right profile-mine__heading--filter">
                        <span>
                            排序:
                        </span>
                        <div class="btn-group btn-group-xs">
                            <a class="btn btn-default active " href="/u/tomoe/answers?sort=created"
                            role="button">
                                时间
                            </a>
                            <a class="btn btn-default  " href="/u/tomoe/answers?sort=vote" role="button">
                                投票
                            </a>
                        </div>
                    </div>
                </h4>
                <ul class="profile-mine__content">
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005882363/a-1020000005883641">
                                    vue.js动态渲染出的表格，如何让某些特定单元格的文字变颜色？有什么思路？
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    8 分钟前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005883240/a-1020000005883301">
                                    做一个随机出现颜色的九宫格，如何清除setInterval出现的随机颜色，又不影响下一次执行呢
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    1 小时前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005882035/a-1020000005882253">
                                    这样需求的表单一般要这么做？
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    3 小时前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005881516/a-1020000005882109">
                                    实例化Vue时渲染不出数据
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    4 小时前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    2 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005879125/a-1020000005879184">
                                    原生js删除父元素下面的子元素 怎么写
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    8 小时前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005874537/a-1020000005878793">
                                    vue组件具名slot遍历问题
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    9 小时前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005876353/a-1020000005878491">
                                    vue.js开发老出现这个错误 el is not defined
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    9 小时前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    1 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005874194/a-1020000005874258">
                                    用“|”分割得到一个数组，怎样提取其中的一个
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    1 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005867942/a-1020000005870003">
                                    vue-router,在执行了以下代码后，再点击按钮跳转链接，路径变化了，但是页面并没有跳转？
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    1 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    1 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005867007/a-1020000005868499">
                                    导航栏如何默认选中？如何根据当前页面浏览位置，导航栏自动选中？
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    1 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005863611/a-1020000005863817">
                                    laravel关联查询，同时返回关联表和被关联表的信息，怎么做？
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    2 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005862850/a-1020000005862875">
                                    vue-resource 向后台传递数据报错
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    2 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005862520/a-1020000005862616">
                                    indexDB该怎么使用啊？
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    2 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005861292/a-1020000005861397">
                                    js中通过id读写内容和调用函数的问题
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    2 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    2 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005861054/a-1020000005861113">
                                    jQuery 中$.unique()实际有什么用?
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    2 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005859074/a-1020000005859248">
                                    加载文章固定长度
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    3 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    2 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005858771/a-1020000005859037">
                                    html 标签没解析
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    3 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-warning  ">
                                    1 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005845592/a-1020000005858026">
                                    行间样式怎样给子元素设置样式？
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    3 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    5 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005857912/a-1020000005857949">
                                    jQuery 的 $.merge( , ) 和 js 的concat() 是一样的吧,区别在哪里呢?
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    3 天前
                                </span>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="row">
                            <div class="col-md-1">
                                <span class="label label-success">
                                    0 票
                                </span>
                            </div>
                            <div class="col-md-9 profile-mine__content--title-warp">
                                <a class="profile-mine__content--title" href="/q/1010000005849584/a-1020000005857403">
                                    如何判断一张图片的左边右边
                                </a>
                            </div>
                            <div class="col-md-2">
                                <span class="profile-mine__content--date">
                                    3 天前
                                </span>
                            </div>
                        </div>
                    </li>
                </ul>
                <div class="text-center">
                    <ul class="pagination">
                        <li class="active">
                            <a href="javascript:void(0);">
                                1
                            </a>
                        </li>
                        <li>
                            <a href="/u/tomoe/answers?page=2">
                                2
                            </a>
                        </li>
                        <li>
                            <a href="/u/tomoe/answers?page=3">
                                3
                            </a>
                        </li>
                        <li>
                            <a href="/u/tomoe/answers?page=4">
                                4
                            </a>
                        </li>
                        <li class="next">
                            <a rel="next" href="/u/tomoe/answers?page=2">
                                下一页
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>




<footer id="footer">
            <div class="container">
                <div class="row hidden-xs">
                    <dl class="col-sm-2 site-link">
                        <dt>
                            网站相关
                        </dt>
                        <dd>
                            <a href="https://segmentfault.com/about">
                                关于我们
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/tos">
                                服务条款
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/faq">
                                帮助中心
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/repu">
                                声望与权限
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/markdown">
                                编辑器语法
                            </a>
                        </dd>
                        <dd>
                            <a href="https://weekly.segmentfault.com/">
                                每周精选
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/app">
                                App 下载
                            </a>
                        </dd>
                    </dl>
                    <dl class="col-sm-2 site-link">
                        <dt>
                            联系合作
                        </dt>
                        <dd>
                            <a href="https://segmentfault.com/contact">
                                联系我们
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/hiring">
                                加入我们
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/link">
                                合作伙伴
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/press">
                                媒体报道
                            </a>
                        </dd>
                        <dd>
                            <a href="https://board.segmentfault.com/">
                                建议反馈
                            </a>
                        </dd>
                        <dd>
                            <a href="http://pan.baidu.com/share/link?shareid=604288&amp;uk=839272106"
                            target="_blank">
                                Logo 下载
                            </a>
                        </dd>
                    </dl>
                    <dl class="col-sm-2 site-link">
                        <dt>
                            常用链接
                        </dt>
                        <dd>
                            <a href="https://chrome.google.com/webstore/detail/segmentfault-%E7%AC%94%E8%AE%B0/pjklfdmleagfaekibdccmhlhellefcfo"
                            target="_blank">
                                笔记插件: Chrome
                            </a>
                        </dd>
                        <dd>
                            <a href="https://addons.mozilla.org/zh-CN/firefox/addon/sf-note-ext/"
                            target="_blank">
                                笔记插件: Firefox
                            </a>
                        </dd>
                        <dd>
                            订阅：
                            <a href="https://segmentfault.com/feeds">
                                问答
                            </a>
                            /
                            <a href="https://segmentfault.com/feeds/blogs">
                                文章
                            </a>
                        </dd>
                        <dd>
                            <a href="https://mirrors.segmentfault.com/" target="_blank">
                                SF 文档镜像
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/blog/interview" target="_blank">
                                SF 社区访谈
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/d-day" target="_blank">
                                技术沙龙 D-DAY
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/hackathon" target="_blank">
                                黑客马拉松 Hackathon
                            </a>
                        </dd>
                        <dd>
                            <a href="https://namebeta.com/" target="_blank">
                                域名搜索注册
                            </a>
                        </dd>
                    </dl>
                    <dl class="col-sm-2 site-link">
                        <dt>
                            关注我们
                        </dt>
                        <dd>
                            <a href="https://github.com/SegmentFault" target="_blank">
                                Github
                            </a>
                        </dd>
                        <dd>
                            <a href="https://twitter.com/segment_fault" target="_blank">
                                Twitter
                            </a>
                        </dd>
                        <dd>
                            <a href="https://weibo.com/segmentfault" target="_blank">
                                新浪微博
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/blog/segmentfault_team" target="_blank">
                                SF 团队日志
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/blog/segmentfault" target="_blank">
                                产品技术日志
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/blog/community_admin" target="_blank">
                                社区运营日志
                            </a>
                        </dd>
                        <dd>
                            <a href="https://segmentfault.com/blog/segmentfault_news" target="_blank">
                                市场运营日志
                            </a>
                        </dd>
                    </dl>
                    <dl class="col-sm-4 site-link" id="license">
                        <dt>
                            内容许可
                        </dt>
                        <dd>
                            除特别说明外，用户内容均采用
                            <a rel="license" target="_blank" href="http://creativecommons.org/licenses/by-sa/3.0/cn/">
                                知识共享署名-相同方式共享 3.0 中国大陆许可协议
                            </a>
                            进行许可
                        </dd>
                        <dd>
                            本站由
                            <a target="_blank" href="https://www.upyun.com/?utm_source=segmentfault&amp;utm_medium=link&amp;utm_campaign=upyun&amp;md=segmentfault">
                                又拍云
                            </a>
                            提供 CDN 存储服务
                        </dd>
                    </dl>
                </div>
                <div class="copyright">
                    Copyright © 2011-2016 SegmentFault. 当前呈现版本 16.06.20
                    <br>
                    <a href="http://www.miibeian.gov.cn/" rel="nofollow">
                        浙ICP备 15005796号-2
                    </a>
                    &nbsp;
                    <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=33010602002000"
                    rel="nofollow">
                        浙公网安备 33010602002000号
                    </a>
                </div>
                <p class="text-center">
                    <a class="js__view--selector hidden-sm hidden-md hidden-lg" data-action="mobile"
                    href="javascript:;">
                        移动版
                    </a>
                    <a class="js__view--selector hidden-sm hidden-md hidden-lg" data-action="desktop"
                    href="javascript:;">
                        桌面版
                    </a>
                </p>
            </div>
        </footer>
        <div id="fixedTools" class="hidden-xs hidden-sm">
            <a id="backtop" class="hidden border-bottom" href="https://segmentfault.com/user/settings#">
                回顶部
            </a>
            <div class="qrcodeWraper">
                <a href="https://segmentfault.com/app#qrcode">
                    <span class="glyphicon glyphicon-qrcode">
                    </span>
                </a>
                <img id="qrcode" class="border" alt="sf-wechat" src="/ztqphp/bbs/Public/img/appQrcode.png">
                <p class="qrcode-text">
                    扫扫下载 App
                </p>
            </div>
        </div>
        <div class="app-promotion-bar">
            <a href="javascript:;">
                <i class="fa fa-close close">
                </i>
            </a>
            <div class="icon">
            </div>
            <h5 class="title h5">
                SegmentFault
            </h5>
            <p class="describe">
                一起探索更多未知
            </p>
            <a class="download-btn btn btn-sm btn-primary" href="https://segmentfault.com/app#qrcode">
                下载 App
            </a>
        </div>
        

        <script crossorigin="" src="/ztqphp/bbs/Public/js/assets.js">
        </script>
        <script crossorigin="" src="/ztqphp/bbs/Public/js/settings.min.js">
        </script>

    </body>

</html>